/*
 * DbTypes.h
 *
 *  Created on: 2018年8月24日
 *      Author: zhengboyuan
 */

#ifndef DBTYPES_H_
#define DBTYPES_H_

#include "BasicType.h"
#include <string>
#include <vector>


namespace db
{


struct Device
{
    std::string id;
    std::string name;
    int type;
    std::string tag;
    std::string ip;
    std::string mac;
    int enabled;
    int status;
    std::string memo;
	std::string netmask;
	std::string broadcast;

    Device():
        type(),
        enabled(1),
        status()
    {
    }

};



}



#endif /* DBTYPES_H_ */
